ViewSizeAnimation Class Reference
[Animation TargetsVersion 4.0]

animates the view size of the view More...

Inheritance diagram for ViewSizeAnimation:
Inheritance graph
[legend]
Collaboration diagram for ViewSizeAnimation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ViewSizeAnimation (const CRect &newRect, bool forceEndValueOnFinish=false)
void animationStart (CView *view, IdStringPtr name)
 animation starts
void animationTick (CView *view, IdStringPtr name, float pos)
 pos is a normalized value between zero and one
void animationFinished (CView *view, IdStringPtr name, bool wasCanceled)
 animation ended
Reference Counting Methods



virtual void forget ()
 decrease refcount and delete object if refcount == 0
virtual void remember ()
 increase refcount
virtual int32_t getNbReference () const
 get refcount
Message Methods



virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)

Protected Attributes

CRect startRect
CRect newRect
bool forceEndValueOnFinish

Detailed Description

animates the view size of the view

see Animations Support


Constructor & Destructor Documentation

ViewSizeAnimation ( const CRect newRect,
bool  forceEndValueOnFinish = false 
)

Member Function Documentation

void animationFinished ( CView view,
IdStringPtr  name,
bool  wasCanceled 
) [virtual]

animation ended

Implements IAnimationTarget.

void animationStart ( CView view,
IdStringPtr  name 
) [virtual]

animation starts

Implements IAnimationTarget.

void animationTick ( CView view,
IdStringPtr  name,
float  pos 
) [virtual]

pos is a normalized value between zero and one

Implements IAnimationTarget.

virtual void forget (  )  [inline, virtual, inherited]

decrease refcount and delete object if refcount == 0

virtual int32_t getNbReference (  )  const [inline, virtual, inherited]

get refcount

virtual CMessageResult notify ( CBaseObject sender,
IdStringPtr  message 
) [inline, virtual, inherited]
virtual void remember (  )  [inline, virtual, inherited]

increase refcount


Member Data Documentation

bool forceEndValueOnFinish [protected]
CRect newRect [protected]
CRect startRect [protected]

The documentation for this class was generated from the following files:

Generated on Fri Nov 22 11:10:03 2013 for VSTGUI by  doxygen 1.6.1